package com.lwj.dao;

import com.lwj.entity.Progress;

import java.util.List;

public interface ProgressMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Progress record);

    int insertSelective(Progress record);

    Progress selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Progress record);

    int updateByPrimaryKey(Progress record);

    /**
     * 项目计划是否已经制定
     * @param projectId
     * @return
     */
    List<Progress> selectByProjectId(int projectId);
}